#-*- coding: UTF-8 -*-
arays =[20,100,1,5,10,0,90,2,40,16]
for i in range(len(arays)):
    for j in range(i+1):
        if arays[i] < arays[j]:  #冒泡排序法
            arays[i],arays[j] =arays[j],arays[i]
print (arays)